package com.letfox.user.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.letfox.user.model.UContact;

@Repository
public interface ContactDao {

	public int insert(UContact contact);
	
	public int update(UContact contact);
	
	public int deleteById(Long id);
	
	public int deleteByIds(String ids);
	
	public UContact selectById(Long id);
	
	public List<UContact> selectList(UContact contact);
	
	public UContact selectByTypeAndValue(String type, String value);
}
